Fix to /etc/xen/network script.
xen/xen
xen/xen-syms
xen/xen.*
+tools/xfrd/xfrd
+xen/tools/elf-reloc
+xen/tools/figlet/figlet
-#!/bin/sh
+#!/bin/sh
#============================================================================
# Example Xen network start/stop script.
# Xend calls a network script when it starts.
fi
# Address lines start with 'inet' and have the device in them.
# Replace 'inet' with 'ip addr add' and change the device name $src
- # to 'dev $src'.
+ # to 'dev $src'. Remove netmask as we'll add routes later.
ip addr show dev ${src} | egrep '^ *inet' | sed -e "
s/inet/ip addr add/
+s@\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)/[0-9]\+@\1@
s/${src}/dev ${dst}/
" | sh -e
}